a=norm_mat(double((imread('training_images_renamed\img_num_00001.bmp'))));
imagesc(a);
A=fft2(a);
Amp=norm_mat(abs(A));
phase=norm_mat(angle(A));
% phase=phase+rand(size(Amp)).*0.1;
Amp=Amp+rand(size(Amp)).*0.1;
aa=ifft2(Amp.*exp(1i*(phase-0.5).*pi.*2));
imagesc(abs(aa));
a=a+rand(size(Amp)).*0.1;
imagesc(a);

imagesc(result)
